package utils;

/**
 * Created by fanzhenyu02 on 2020/2/14.
 */

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStreamReader;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;


public class ProcessFileFormat {


    public static void run() {
        Map<String, StringBuilder> map = new TreeMap<>();
        String line = null;
        try {
            String msg = "100000|6228270016000104372 |杨进京                                                  |110001|412728198705123350  |                                   |        |      ";
            File file = new File("/Users/vonmax/Downloads/MTDKPLHC202004213067.txt");
            org.apache.commons.io.FileUtils.writeStringToFile(file, msg, "GBK");
        } catch (Exception e) {
            System.out.println(line);
            e.printStackTrace();
        }
    }


    public static void main(String[] args) {
        run();
    }


}

